package com.wanlong.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanlong.sys.model.SysUser;
import org.springframework.stereotype.Service;

import java.util.List;

public interface ISysUserService {
    public long insert(SysUser sysUser);
    public int update(SysUser sysUser);
    public int delete(SysUser sysUser);
    public SysUser getSysUserById(Long id);
    public SysUser getSysUserListByName(String loginName);
    public PageInfo<SysUser> getPageSysUserListByName(String loginName, Integer pageNo, Integer pageSize);
}
